
const UUID_FILENAME_MIDDLE = "#&#"
const DOT = "."


// js获取昨日的日期
export const obtainFileStuName = (file: string) => {
    let strings = file.split(UUID_FILENAME_MIDDLE);
    return strings[1]
};


// 获取文件后缀
export const obtainFileSuffix = (file: string) => {
    return file.split(DOT)[2]
};

